package com.ruoyi.store.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_settlement_account
 * 
 * @author kai
 * @date 2022-08-23
 */
public class SettlementAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String sn;

    /** 期初金额 */
    @Excel(name = "期初金额")
    private BigDecimal initialAmount;

    /** 当前余额 */
    @Excel(name = "当前余额")
    private BigDecimal currentBalance;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSn(String sn) 
    {
        this.sn = sn;
    }

    public String getSn() 
    {
        return sn;
    }
    public void setInitialAmount(BigDecimal initialAmount) 
    {
        this.initialAmount = initialAmount;
    }

    public BigDecimal getInitialAmount() 
    {
        return initialAmount;
    }
    public void setCurrentBalance(BigDecimal currentBalance) 
    {
        this.currentBalance = currentBalance;
    }

    public BigDecimal getCurrentBalance() 
    {
        return currentBalance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sn", getSn())
            .append("initialAmount", getInitialAmount())
            .append("currentBalance", getCurrentBalance())
            .append("remark", getRemark())
            .toString();
    }
}
